const http = require('http');

const server = http.createServer((request, response) => {
    response.end('Hello NodeJS Server');
});

server.listen(8080, () => {
    console.log('server is running....');
});